<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div class="header">
	<h3>关闭信息</h3>
</div>
<table class="form-table">
	<c:choose>

		<c:when test="${model.areFeedback eq true }">
			<tr>
				<td class="td1">是否客户评价：</td>
				<td class="td2"><form:checkbox path="areFeedback"
						disabled="true" /></td>
			</tr>

			<tr>
				<td class="td1">关闭码：</td>
				<td class="td2" colspan="3"><isperp:dictSelector dataWidth="260px"
						typeCode="INCIDENT_CLOSECODE" name="closeCode" id="txtCloseCode" selectedValue="${model.closeCode }"
						hasEmptyValue="false" dictCssClass="required"></isperp:dictSelector>
				</td>
			</tr>
			<tr>
				<td class="td1">满意度：</td>
				<td class="td2"><form:radiobuttons path="satisfaction"
						cssClass="required" items="${satisfications}" itemLabel="name" 
						itemValue="code" />&nbsp;&nbsp;(5分为满分)<label class="required"></label>
				</td>
			</tr>
			<tr>
				<td class="td1">客户意见：</td>
				<td class="td2"><form:textarea path="customerOpinion"
						disabled="true" /></td>
			</tr>
		</c:when>
		<c:otherwise>
			<tr>
				<td class="td1">关闭码：</td>
				<td class="td2" colspan="3"><isperp:dictSelector dataWidth="260px"
						typeCode="INCIDENT_CLOSECODE" name="closeCode" id="txtCloseCode"
						hasEmptyValue="false" dictCssClass="required"></isperp:dictSelector>
				</td>
			</tr>
			<tr>
				<td class="td1">满意度：</td>
				<td class="td2"><form:radiobuttons path="satisfaction"
						cssClass="required" items="${satisfications}" itemLabel="name"
						itemValue="code" />&nbsp;&nbsp;(5分为满分)<label class="required"></label>
				</td>
			</tr>
			<tr>
				<td class="td1">客户意见</td>
				<td class="td2"><form:textarea path="customerOpinion" /></td>
			</tr>
		</c:otherwise>
	</c:choose>




</table>